Telegram Group & Telegram Channel
#собесы #python #senior
Вопросы, которые могут задать на собеседовании Senior Python Developer.
Проверьте себя без помощи поисковиков!


Что такое генераторы и чем они отличаются от обычных функций?

Пример кода:
def my_generator():
yield 1
yield 2
yield 3

gen = my_generator()
for value in gen:
print(value) # Вывод: 1, 2, 3


❗️Генераторы — это функции, которые возвращают итератор с помощью ключевого слова yield. Они не выполняют весь код сразу, а возвращают значения по одному, что полезно для работы с большими данными. Генераторы экономят память, так как не хранят все значения в памяти одновременно.

Ссылка на
документацию по генераторам
Please open Telegram to view this post
VIEW IN TELEGRAM



tg-me.com/job_python/6288
Create:
Last Update:

#собесы #python #senior
Вопросы, которые могут задать на собеседовании Senior Python Developer.
Проверьте себя без помощи поисковиков!


Что такое генераторы и чем они отличаются от обычных функций?

Пример кода:

def my_generator():
yield 1
yield 2
yield 3

gen = my_generator()
for value in gen:
print(value) # Вывод: 1, 2, 3


❗️Генераторы — это функции, которые возвращают итератор с помощью ключевого слова yield. Они не выполняют весь код сразу, а возвращают значения по одному, что полезно для работы с большими данными. Генераторы экономят память, так как не хранят все значения в памяти одновременно.

Ссылка на
документацию по генераторам

BY Python Job | Вакансии | Стажировки




Share with your friend now:
tg-me.com/job_python/6288

View MORE
Open in Telegram


Python Job | Вакансии | Стажировки Telegram | DID YOU KNOW?

Date: |

Why Telegram?

Telegram has no known backdoors and, even though it is come in for criticism for using proprietary encryption methods instead of open-source ones, those have yet to be compromised. While no messaging app can guarantee a 100% impermeable defense against determined attackers, Telegram is vulnerabilities are few and either theoretical or based on spoof files fooling users into actively enabling an attack.

What Is Bitcoin?

Bitcoin is a decentralized digital currency that you can buy, sell and exchange directly, without an intermediary like a bank. Bitcoin’s creator, Satoshi Nakamoto, originally described the need for “an electronic payment system based on cryptographic proof instead of trust.” Each and every Bitcoin transaction that’s ever been made exists on a public ledger accessible to everyone, making transactions hard to reverse and difficult to fake. That’s by design: Core to their decentralized nature, Bitcoins aren’t backed by the government or any issuing institution, and there’s nothing to guarantee their value besides the proof baked in the heart of the system. “The reason why it’s worth money is simply because we, as people, decided it has value—same as gold,” says Anton Mozgovoy, co-founder & CEO of digital financial service company Holyheld.

Python Job | Вакансии | Стажировки from pl


Telegram Python Job | Вакансии | Стажировки
FROM USA